package com.yannan.lock.web.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class LockInfo {
    private String lockId;//门锁编号

    private String lockName;//门锁名称

    private String lockserialId;//对应门锁编号  扫描后填入

    private String status;//    门锁设备状态 0 未绑定 1 已绑定 -1 已作废

    private Object batteryLevel;//电池电量

    private Date createTime;

    private Date modifyTime;

    private BigDecimal version;

    private String id;

    private String positionid;//位置编号

    private String effective;//门锁工作状态（0 正常工作 1出现异常）

    private String lockNetwork;//联网状态（0正常 1异常）

    public String getEffective() {
        return effective;
    }

    public void setEffective(String effective) {
        this.effective = effective;
    }

    public String getLockNetwork() {
        return lockNetwork;
    }

    public void setLockNetwork(String lockNetwork) {
        this.lockNetwork = lockNetwork;
    }

    public String getLockId() {
        return lockId;
    }

    public void setLockId(String lockId) {
        this.lockId = lockId == null ? null : lockId.trim();
    }

    public String getLockName() {
        return lockName;
    }

    public void setLockName(String lockName) {
        this.lockName = lockName == null ? null : lockName.trim();
    }

    public String getLockserialId() {
        return lockserialId;
    }

    public void setLockserialId(String lockserialId) {
        this.lockserialId = lockserialId == null ? null : lockserialId.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Object getBatteryLevel() {
        return batteryLevel;
    }

    public void setBatteryLevel(Object batteryLevel) {
        this.batteryLevel = batteryLevel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public BigDecimal getVersion() {
        return version;
    }

    public void setVersion(BigDecimal version) {
        this.version = version;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPositionid() {
        return positionid;
    }

    public void setPositionid(String positionid) {
        this.positionid = positionid == null ? null : positionid.trim();
    }
}